<?php /* Smarty version Smarty-3.0.6, created on 2020-02-03 20:17:57
         compiled from "/www/wwwroot/gushi.phoenixfm.cn/tpl/web/book.html" */ ?>
<?php /*%%SmartyHeaderCode:13371850295e380f757a0bc7-63854077%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '533f2b0281e632a5a6649dc8e2dbfe1ce641bc66' => 
    array (
      0 => '/www/wwwroot/gushi.phoenixfm.cn/tpl/web/book.html',
      1 => 1551410097,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13371850295e380f757a0bc7-63854077',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/www/wwwroot/gushi.phoenixfm.cn/SpeedPHP/Drivers/Smarty/plugins/modifier.truncate.php';
?> <?php $_template = new Smarty_Internal_Template("web/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
 <!--主要内容区-->
  <div class="container">
    <div class="row">
      <!--左侧内容-->
      <div class="col-xs-8">
        <!--内容-->
      	<div class="panel panel-primary">
          <div class="panel-heading">
            <h3>《<?php echo $_smarty_tpl->getVariable('result')->value['title'];?>
》</h3>
          </div>
          <div class="panel-body">
            <p><span class="label label-warning"><?php echo $_smarty_tpl->getVariable('result')->value['dynasty'];?>
</span> <span class="label label-info"><?php echo $_smarty_tpl->getVariable('result')->value['author'];?>
</span></p>
            <div class="row">
              <div class="col-xs-8"><?php echo $_smarty_tpl->getVariable('result')->value['intro'];?>
</div>
              <div class="col-xs-3"><div class="media pull-right"><img src="<?php echo $_smarty_tpl->getVariable('result')->value['pic'];?>
" style="width:80px;" alt=""></div></div>
            </div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn" onclick="xihuan('gj',<?php echo $_smarty_tpl->getVariable('result')->value['id'];?>
,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('gj',<?php echo $_smarty_tpl->getVariable('result')->value['id'];?>
,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><?php echo $_smarty_tpl->getVariable('resultd')->value['tags'];?>
</div>
              <br >
              <div class="collapse" id="collapseWechat_<?php echo $_smarty_tpl->getVariable('result')->value['id'];?>
">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<?php echo $_smarty_tpl->getVariable('result')->value['id'];?>
" style="width:108px;height:108px;" /></p>
                </div>
              </div>
          </div>
        </div>
        <!--书籍列表-->
        <div class="list-group">
              <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('bl')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
              <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'zj','id'=>$_smarty_tpl->tpl_vars['wx']->value['id'],'bid'=>$_smarty_tpl->getVariable('result')->value['id']),$_smarty_tpl);?>
" class="list-group-item"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a>
              <?php }} ?>
            </div>    
        <!--猜您喜欢-->
        <div class="list-group">
          <a href="#" class="list-group-item active">
            <h4 class="list-group-item-heading">猜你喜欢</h4>
          </a>
        </div>
        <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('res_book')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
          <div class="panel">
              <div class="panel-body">
                <div class="title-heading"><strong><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gjDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
">《<?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
》</a></strong></div>
                <p><span class="label label-info"><?php echo $_smarty_tpl->tpl_vars['wx']->value['author'];?>
</span></p>
                <div class="content-content text-muted">
                  <div class="col-xs-8"><?php echo smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['wx']->value['intro']),120,"...",true);?>
</div>
                  <div class="col-xs-3"><div class="media pull-right"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gjDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['wx']->value['pic'];?>
" style="width:80px;" alt=""></a></div></div>                
                </div>
              </div>
              <div class="panel-footer">
                <div class="btn-group">
                  <button class="btn" onclick="xihuan('gj',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('gj',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-wechat"></i></button>
                </div>
                <div style="float:right;"><?php echo $_smarty_tpl->tpl_vars['wx']->value['tags'];?>
</div>
                <br >
              	<div class="collapse" id="collapseWechat_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
">
                	<div class="bg-primary with-padding">
                  		<p><img src="" alt='' id="imgqcode_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
" style="width:108px;height:108px;" /></p>
                	</div>
              	</div>
              </div>
            </div>  
        <?php }} ?>   
      </div>
      <!--右侧内容-->
      <div class="col-xs-3">
      	
      </div>
   </div>
 <?php $_template = new Smarty_Internal_Template("web/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>